home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / send.zip / MONODEMO.BAT < prev    next >
DOS Batch File  |  1985-10-17  |  1KB  |  30 lines

  1. echo off
  2. send $e[2J
  3. rem send $e[2J is the ANSI.SYS clear screen.  $e[J will have the same 
  4. rem effect but since the correct code set by ANSI is $e[2J, some 
  5. rem alternate screen drivers will only recognize $e[2J as a clear screen.
  6. send $_$_$_$_$_$_
  7. rem this skips 6 lines
  8. send $e[0m   This is ordinary text$_
  9. send $e[1m   This is bold text$_
  10. send $   $e[4mThis is underlined$_
  11. send $e[0;5m   This is blinking$_
  12. send $e[0m   $e[7mThis is reverse$_$_
  13. rem the extra $_ skipped a line
  14. send $e[0m   You $e[7mcan$e[0m combine $e[1;4mdiff
  15. send erent$e[0m attributes for $e[1;5memphasis$e[0m$_$_
  16. rem breaking the line in the middle has no effect!
  17. send You can even send extended ASCII code if you can embed it in your file$_
  18. send $          ┌─────┐$_
  19. send    $          │ HI! │$_
  20. send $          └─────┘$_$_
  21. rem SEND ignores leading spaces; the $ is just there to start the line;it 
  22. rem      isn't sent
  23. rem The above uses the IBM graphics characters such as 192:└ and 196:─
  24. send $    There are all sorts of things you can do with SEND:$_$_
  25. send Today's date is $d; the time is $t $_       and this file is $PMONODEMO.BAT$_$_
  26. rem note that what appears on one line in the file is printed on two!
  27. pause
  28. send $e[2J
  29.  
  30.